package ar.org.cfired.creditos.parametros;



public class Provincia {
	private String pro_id;
	private String pro_descripcion;
	private int pro_id_sba;
	private String pro_abreviacion;
	private String pro_caracter_cp;
	private String pro_region;
	private String pro_capital;
	
	public void setProId (String pro_id) {
		if (pro_id != null)
			this.pro_id = pro_id.substring(0, Math.min(2, pro_id.length()));
		else
			this.pro_id = new String();
	}
	public String getProId() {
		return (this.pro_id);
	}

	public void setProDescripcion (String pro_descripcion) {
		if (pro_descripcion != null)
			this.pro_descripcion = pro_descripcion.substring(0, Math.min(50, pro_descripcion.length()));
		else
			this.pro_descripcion = new String();
	}
	public String getProDescripcion() {
		return (this.pro_descripcion);
	}

	public void setProIdSba (int pro_id_sba) {
		this.pro_id_sba = pro_id_sba;
	}
	public int getProIdSba() {
		return (this.pro_id_sba);
	}

	public void setProAbreviacion (String pro_abreviacion) {
		if (pro_abreviacion != null)
			this.pro_abreviacion = pro_abreviacion.substring(0, Math.min(20, pro_abreviacion.length()));
		else
			this.pro_abreviacion = new String();
	}
	public String getProAbreviacion() {
		return (this.pro_abreviacion);
	}

	public void setProCaracterCp (String pro_caracter_cp) {
		if (pro_caracter_cp != null)
			this.pro_caracter_cp = pro_caracter_cp.substring(0, Math.min(1, pro_caracter_cp.length()));
		else
			this.pro_caracter_cp = new String();
	}
	public String getProCaracterCp() {
		return (this.pro_caracter_cp);
	}

	public void setProRegion (String pro_region) {
		if (pro_region != null)
			this.pro_region = pro_region.substring(0, Math.min(30, pro_region.length()));
		else
			this.pro_region = new String();
	}
	public String getProRegion() {
		return (this.pro_region);
	}

	public void setProCapital (String pro_capital) {
		if (pro_capital != null)
			this.pro_capital = pro_capital.substring(0, Math.min(30, pro_capital.length()));
		else
			this.pro_capital = new String();
	}
	public String getProCapital() {
		return (this.pro_capital);
	}

}
